
if ( STATE_TYPE STREQUAL "double" AND
     REAL_TYPE STREQUAL "double" AND 
     USING_FAD AND 
     BUILD_PLASTICITY_MATERIALS )

     file(GLOB headers *.h)
     file(GLOB sources *.cpp)

set(main main.cpp ${sources} ${headers})

add_executable(ElastoPlasticSimulator ${main})

target_link_libraries(ElastoPlasticSimulator pz)

endif()